//
//  ZBShareSDKView.h
//  ZBShareSDKDM
//
//  Created by apple on 2018/10/2.
//  Copyright © 2018年 apple. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface ZBShareSDKViewConfig : NSObject

+ (instancetype)defaultShareSDKViewConfig;

//分享按钮图文 key:name value:微信  key:image value:@""
@property (nonatomic, strong)  NSArray <NSDictionary *> *buttonContents;

//分割线颜色
@property (nonatomic, strong)  UIColor *separateLineColor;

//取消文字颜色
@property (nonatomic, strong)  UIColor *cancleColor;
//取消文字字体
@property (nonatomic, strong)  UIFont *cancleFont;
//取消文字
@property (nonatomic, strong)  NSString *cancleText;

//默认左右间距
@property (nonatomic, assign)  CGFloat defaultLRMargin;

@end

typedef void(^targetBlock)(NSInteger index);

@interface ZBShareSDKView : UIView

+ (void)showInView:(UIView *)superView  config:(ZBShareSDKViewConfig *)config targetEventCompeletion:(targetBlock)compeletion;

+ (void)showWithConfig:(ZBShareSDKViewConfig *)config compeletion:(targetBlock)compeletion;

+ (void)showWithCompeletion:(targetBlock)compeletion;
@end
